package com.chenhui.estateback.repository;

import com.chenhui.estateback.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Map;

public interface UserRepository extends JpaRepository<User,Integer> {
    List<User> findByName(String name);
}
